import Vue from 'vue'
import Router from 'vue-router'
import index from '@/components/index'
import Login from '@/components/Login'
import Register from '@/components/Register'
import scoket_message from '@/components/scoket_message'
import kefu from '@/components/kefu'
import Message_push_ser from '@/components/Message_push_ser'
import messages_box from '@/components/messages_box'
import ceshi from '@/components/ceshi'
import client from '@/components/client'

Vue.use(Router)

export default new Router({
  mode:'history',
  routes: [
    {
      path:'/',
      name:'index',
      component:index
    },{
      path:'/login',
      name:'Login',
      component:Login
    },{
      path:'/register',
      name:'Register',
      component:Register
    },{
      path:'/scoket_message',
      name:'scoket_message',
      component:scoket_message
    },{
      path:'/kefu',
      name:'kefu',
      component:kefu
    },{
      path:'/message_push_ser',
      name:'Message_push_ser',
      component:Message_push_ser
    },{
      path:'/messages_box',
      name:'messages_box',
      component:messages_box
    },{
      path:'/ceshi',
      name:'ceshi',
      component:ceshi
    },{
      path:'/client',
      name:'client',
      component:client
    },

  ]
})
